package com.battle.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Data;
import nirvana.core.domains.ann.AccEntity;
import nirvana.core.domains.entity.DomainBaseEntity;
import nirvana.core.domains.enums.EntityType;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2024/10/8 19:24
 * 车辆战力表
 */
@Data
@TableName(value = "CAR_WAR_CASE")
@Entity(name = "CAR_WAR_CASE")
@AccEntity(value = "车辆战力表", type = EntityType.SERVICE_ENTITY)
public class CarWarCase extends DomainBaseEntity<CarWarCase> {

    /**
     * id
     */
    @Column()
    private Long id;

    /**
     * 战力指数
     */
    @Column()
    private Integer combatPower;

    /**
     * 类型
     */
    @Column()
    private String type;


    /**
     * 车辆名称
     */
    @Column()
    private String name;

    /**
     * 车辆编号
     */
    @Column()
    private String code;

    /**
     * 所属组织架构id
     */
    @Column()
    private Long organizationId;

    /**
     * path
     */
    @Column()
    private String path;

    /**
     * 创建人名称
     */
    @Column
    private String creatorName;
}
